const raw = {
  primary: [
    {
      url: "",
      name: "媒体中心",
      id: 16,
      color: "#80CE89",
      key: 'X5F_MEITI'
    },
    {
      url: "",
      name: "B区",
      id: 10,
      color: "#67C0C9",
      key: 'X5F_B'
    },
    {
      url: "",
      name: "DG区",
      id: 11,
      color: "#916CE5",
      key: 'FACEDG'
    },
    {
      url: "",
      name: "eg区",
      id: 9,
      color: "#DDBC6B",
      key: 'X5F_EG'
    },
    {
      url: "KJ-7NUWhMFroFM&lang=zh&pose=pano:162,qua:-0.0421,-0.7085,-0.0424,0.7032",
      name: "发布台",
      id: 12,
      color: "#D86450",
      key: 'X5F_FBT'
    },
    {
      url: "",
      name: "工作区域",
      id: 13,
      color: "#CC9160",
      key: 'X5F_C'
    },
  ],
  secondary: [
    {
      p_id: 16, //对应primary的id
      bgclr: "#B0FFB8",
      bgclr_active: "#B0FFB8",
      textColor: '#518E53',
      data: [
        {
          xuhao: "",
          url: "",
          name: "峰会直播间",
          id: 1,
        },
        {
          xuhao: "",
          url: "",
          name: "博览会直播间",
          id: 2,
        },
        {
          xuhao: "",
          url: "",
          name: "峰会采访间",
          id: 3,
        },
        {
          xuhao: "",
          url: "",
          name: "博览会采访间",
          id: 4,
        },
        {
          xuhao: "",
          url: "",
          name: "新闻中心",
          id: 5,
        }
      ],
    },
    {
      p_id: 10, //对应primary的id
      bgclr: "#9EF5FF",
      bgclr_active: "#9EF5FF",
      textColor: '#448C8C',
      data: [
        {
          xuhao: "B1",
          url: "KJ-hGzQP8bAuiJ&lang=zh&pose=pano:72,qua:0.0725,-0.1026,0.0075,0.992",
          name: "广东省通信产业服务有限公司",
          id: 1,
          key: 'B1'
        },
        {
          xuhao: "B1",
          url: "KJ-hGzQP8bAuiJ&lang=zh&pose=pano:72,qua:0.0725,-0.1026,0.0075,0.992",
          name: "天讯瑞达通信技术有限公司",
          id: 26,
        },
        {
          xuhao: "B1",
          url: "KJ-hGzQP8bAuiJ&lang=zh&pose=pano:72,qua:0.0725,-0.1026,0.0075,0.992",
          name: "中通服建设有限公司",
          id: 27,
        },
        {
          xuhao: "B1",
          url: "KJ-hGzQP8bAuiJ&lang=zh&pose=pano:72,qua:0.0725,-0.1026,0.0075,0.992",
          name: "广东南方通信集团有限公司",
          id: 28,
        },
        {
          xuhao: "B1",
          url: "KJ-hGzQP8bAuiJ&lang=zh&pose=pano:72,qua:0.0725,-0.1026,0.0075,0.992",
          name: "中数通信息有限公司",
          id: 29,
        },
        {
          xuhao: "B1",
          url: "KJ-hGzQP8bAuiJ&lang=zh&pose=pano:72,qua:0.0725,-0.1026,0.0075,0.992",
          name: "广东广信通信服务有限公司",
          id: 30,
        },
        {
          xuhao: "B1",
          url: "KJ-hGzQP8bAuiJ&lang=zh&pose=pano:72,qua:0.0725,-0.1026,0.0075,0.992",
          name: "广东省电信规划设计院有限公司",
          id: 31,
        },
        {
          xuhao: "B1",
          url: "KJ-hGzQP8bAuiJ&lang=zh&pose=pano:72,qua:0.0725,-0.1026,0.0075,0.992",
          name: "公诚管理咨询有限公司",
          id: 32,
        },
        {
          xuhao: "B1",
          url: "KJ-hGzQP8bAuiJ&lang=zh&pose=pano:72,qua:0.0725,-0.1026,0.0075,0.992",
          name: "中通服中睿科技有限公司",
          id: 33,
        },
        {
          xuhao: "B3",
          url: "KJ-hGzQP8bAuiJ&lang=zh&pose=pano:2,qua:0.0203,0.9763,-0.1052,0.1882",
          name: "",
          id: 2,
          key: 'B3'
        },
        {
          xuhao: "B4",
          url: "KJ-hGzQP8bAuiJ&lang=zh&pose=pano:2,qua:0.0203,0.9763,-0.1052,0.1882",
          name: "",
          id: 3,
          key: 'B4'
        },
        {
          xuhao: "B5",
          url: "KJ-hGzQP8bAuiJ&lang=zh&pose=pano:18,qua:0.0721,-0.0194,0.0014,0.9972",
          name: "广东科创智水科技有限公司",
          id: 4,
          key: 'B5'
        },
        {
          xuhao: "B5",
          url: "",
          name: "众源科技 (广东) 股份有限公司",
          id: 4,
        },
        {
          xuhao: "B5",
          url: "KJ-hGzQP8bAuiJ&lang=zh&pose=pano:24,qua:-0.0009,0.999,-0.0366,-0.0239",
          name: "广州软件应用技术研究院",
          id: 4,
        },
        {
          xuhao: "B7",
          url: "KJ-hGzQP8bAuiJ&lang=zh&pose=pano:2,qua:0.0203,0.9763,-0.1052,0.1882",
          name: "",
          id: 5,
          key: 'B7'
        },
        {
          xuhao: "B8",
          url: "KJ-hGzQP8bAuiJ&lang=zh&pose=pano:2,qua:0.0203,0.9763,-0.1052,0.1882",
          name: "",
          id: 6,
          key: 'B8'
        },
        {
          xuhao: "B9-1.2",
          url: "KJ-hGzQP8bAuiJ&lang=zh&pose=pano:236,qua:-0.0003,0.998,0.0637,0.0043",
          name: "珠海市四维时代网络科技有限公司",
          id: 7,
          key: 'B9-1.2'
        },
        {
          xuhao: "B9-2.1",
          url: "KJ-hGzQP8bAuiJ&lang=zh&pose=pano:224,qua:-0.0093,0.7077,0.0093,0.7064",
          name: "北京彩智科技有限公司",
          id: 8,
          key: 'B9-2.1'
        },
        {
          xuhao: "B9-2.2",
          url: "KJ-hGzQP8bAuiJ&lang=zh&pose=pano:242,qua:-0.0595,0.7124,0.0608,0.6966",
          name: "深圳慧科信息科技有限公司",
          id: 9,
          key: 'B9-2.2'
        },
        {
          xuhao: "B10-1",
          url: "KJ-hGzQP8bAuiJ&lang=zh&pose=pano:36,qua:0.0293,0.4184,-0.0135,0.9077",
          name: "广州数据产业协会",
          id: 10,
          key: 'B10-1'
        },
        {
          xuhao: "B10-1",
          url: "KJ-hGzQP8bAuiJ&lang=zh&pose=pano:36,qua:0.0293,0.4184,-0.0135,0.9077",
          name: "北京人大金仓信息技术股份有限公司",
          id: 10,
        },
        {
          xuhao: "B10-1",
          url: "KJ-hGzQP8bAuiJ&lang=zh&pose=pano:36,qua:0.0293,0.4184,-0.0135,0.9077",
          name: "航天壹进制（江苏）信息科技有限公司",
          id: 10,
        },
        {
          xuhao: "B10-2.1",
          url: "KJ-hGzQP8bAuiJ&lang=zh&pose=pano:256,qua:-0.0732,0.6097,0.0567,0.7872",
          name: "深圳计算科学研究院",
          id: 11,
          key: 'B10-2.1'
        },
        {
          xuhao: "B10-2.2",
          url: "KJ-hGzQP8bAuiJ&lang=zh&pose=pano:250,qua:-0.034,0.7247,0.0358,0.6872",
          name: "肇庆高新区兴旺数据有限公司",
          id: 12,
          key: 'B10-2.2'
        },
        {
          xuhao: "B11",
          url: "KJ-hGzQP8bAuiJ&lang=zh&pose=pano:168,qua:0.0112,0.7855,-0.0142,0.6186",
          name: "电子政务建模仿真国家工程实验室",
          id: 13,
          key: 'B11'
        },
        {
          xuhao: "B14",
          url: "KJ-hGzQP8bAuiJ&lang=zh&pose=pano:256,qua:0.0153,-0.4041,0.0068,0.9146",
          name: "广州宽带主干网络有限公司",
          id: 14,
          key: 'B14'
        },
        {
          xuhao: "B14",
          url: "KJ-hGzQP8bAuiJ&lang=zh&pose=pano:256,qua:0.0153,-0.4041,0.0068,0.9146",
          name: "金税信息技术服务股份有限公司",
          id: 14,
        },
        {
          xuhao: "B14",
          url: "KJ-hGzQP8bAuiJ&lang=zh&pose=pano:256,qua:0.0153,-0.4041,0.0068,0.9146",
          name: "广东越维信息科技有限公司",
          id: 14,
        },
        {
          xuhao: "B14",
          url: "KJ-hGzQP8bAuiJ&lang=zh&pose=pano:256,qua:0.0153,-0.4041,0.0068,0.9146",
          name: "广东地球村计算机系统股份有限公司",
          id: 14,
        },
        {
          xuhao: "B17",
          url: "KJ-V7tRy2Rh7WZ&lang=zh&pose=pano:2,qua:0.0484,0.6924,-0.0466,0.7184",
          name: "阿里云计算有限公司",
          id: 15,
          key: 'B17'
        },
        {
          xuhao: "B18",
          url: "KJ-V7tRy2Rh7WZ&lang=zh&pose=pano:130,qua:0.0387,0.8544,-0.0643,0.5142",
          name: "陕西省测绘地理信息局",
          id: 16,
          key: 'B18'
        },
        {
          xuhao: "B19",
          url: "KJ-V7tRy2Rh7WZ&lang=zh&pose=pano:200,qua:0.0197,0.71,-0.0198,0.7037",
          name: "珠海华发集团有限公司",
          id: 17,
          key: 'B19'
        },
        {
          xuhao: "B20",
          url: "KJ-V7tRy2Rh7WZ&lang=zh&pose=pano:146,qua:0.0681,0.7024,-0.0678,0.7052",
          name: "视联动力信息技术股份有限公司",
          id: 18,
          key: 'B20'
        },
        {
          xuhao: "B21-1",
          url: "KJ-V7tRy2Rh7WZ&lang=zh&pose=pano:26,qua:-0.0281,0.1475,0.0042,0.9887",
          name: "华为技术有限公司",
          id: 19,
          key: 'B21-1'
        },
        {
          xuhao: "B21-2",
          url: "KJ-V7tRy2Rh7WZ&lang=zh&pose=pano:50,qua:-0.0072,0.939,0.0196,0.3432",
          name: "广东消防",
          id: 20,
          key: 'B21-2'
        },
        {
          xuhao: "B23-1",
          url: "KJ-V7tRy2Rh7WZ&lang=zh&pose=pano:50,qua:0.0904,-0.0041,0.0004,0.9959",
          name: "广东中标数据科技股份有限公司",
          id: 21,
          key: 'B23-1'
        },
        {
          xuhao: "B23-2",
          url: "KJ-V7tRy2Rh7WZ&lang=zh&pose=pano:64,qua:0.0132,-0.7321,0.0142,0.6809",
          name: "广州智能科技发展有限公司",
          id: 22,
          key: 'B23-2'
        },
        {
          xuhao: "B24-A",
          url: "KJ-V7tRy2Rh7WZ&lang=zh&pose=pano:226,qua:0.011,0.8696,-0.0195,0.4932",
          name: "深圳市中农易讯信息技术有限公司",
          id: 23,
          key: 'B24-A'
        },
        {
          xuhao: "B24-B",
          url: "KJ-V7tRy2Rh7WZ&lang=zh&pose=pano:232,qua:-0.0153,0.9757,-0.0723,-0.2064",
          name: "北明软件有限公司",
          id: 24,
          key: 'B24-B'
        },
        {
          xuhao: "B26",
          url: "KJ-V7tRy2Rh7WZ&lang=zh&pose=pano:64,qua:0.1078,0.5289,-0.068,0.8391",
          name: "上海通办信息服务有限公司",
          id: 25,
          key: 'B26'
        }
      ],
    },
    {
      p_id: 11, //对应primary的id
      bgclr: "#CCB5FF",
      bgclr_active: "#CCB5FF",
      textColor: '#624AC6',
      data: [
        {
          xuhao: "DG1-1",
          url: "KJ-V7tRy2Rh7WZ&lang=zh&pose=pano:40,qua:-0.0625,0.8083,0.0873,0.5789",
          name: "中国联通",
          id: 1,
          key: '1'
        },
        {
          xuhao: "DG1-2",
          url: "KJ-V7tRy2Rh7WZ&lang=zh&pose=pano:54,qua:-0.0331,0.7003,0.0326,0.7123",
          name: "中国电信",
          id: 2,
          key: '2'
        },
        {
          xuhao: "DG1-3",
          url: "KJ-V7tRy2Rh7WZ&lang=zh&pose=pano:114,qua:0.0844,0.6526,-0.0735,0.7494",
          name: "中国移动",
          id: 3,
          key: '3'
        },
        {
          xuhao: "DG1-4",
          url: "KJ-V7tRy2Rh7WZ&lang=zh&pose=pano:110,qua:-0.0097,0.5354,0.0061,0.8445",
          name: "中兴华奕",
          id: 4,
          key: '4'
        },
        {
          xuhao: "DG1-5",
          url: "KJ-V7tRy2Rh7WZ&lang=zh&pose=pano:90,qua:-0.0062,0.9115,0.0137,0.411",
          name: "广州凡拓数字创意科技股份有限公司",
          id: 5,
          key: '5'
        },
        {
          xuhao: "DG1-6",
          url: "KJ-V7tRy2Rh7WZ&lang=zh&pose=pano:88,qua:-0.0933,0.765,0.1138,0.627",
          name: "潮州网信办",
          id: 6,
          key: '6'
        },
        {
          xuhao: "DG1-7",
          url: "KJ-V7tRy2Rh7WZ&lang=zh&pose=pano:88,qua:-0.0933,0.765,0.1138,0.627",
          name: "潮州市政务服务",
          id: 7,
          key: '7'
        },
        {
          xuhao: "DG1-8",
          url: "KJ-V7tRy2Rh7WZ&lang=zh&pose=pano:160,qua:-0.0315,0.7706,0.0383,0.6354",
          name: "珠海市四维时代网络科技有限公司",
          id: 8,
          key: '8'
        },
        {
          xuhao: "DG1-10",
          url: "KJ-V7tRy2Rh7WZ&lang=zh&pose=pano:86,qua:-0.0596,0.5676,0.0412,0.8201",
          name: "广州云芯信息科技有限公司",
          id: 10,
          key: '10'
        },
        {
          xuhao: "DG1-11",
          url: "KJ-V7tRy2Rh7WZ&lang=zh&pose=pano:188,qua:0.0804,0.6821,-0.0758,0.7228",
          name: "拓元（广州）智慧科技有限公司",
          id: 11,
          key: '11'
        },
        {
          xuhao: "DG1-12",
          url: "KJ-V7tRy2Rh7WZ&lang=zh&pose=pano:178,qua:-0.0502,0.6962,0.0489,0.7144",
          name: "广东特视能智能科技有限公司",
          id: 12,
          key: '12'
        },
        {
          xuhao: "DG1-13",
          url: "KJ-V7tRy2Rh7WZ&lang=zh&pose=pano:194,qua:-0.0301,0.7106,0.0304,0.7023",
          name: "广东德生科技股份有限公司",
          id: 13,
          key: '13'
        },
        {
          xuhao: "DG1-14",
          url: "KJ-V7tRy2Rh7WZ&lang=zh&pose=pano:190,qua:-0.0099,0.7592,0.0115,0.6507",
          name: "中国建设银行",
          id: 14,
          key: '14'
        },
        {
          xuhao: "DG1-15",
          url: "KJ-V7tRy2Rh7WZ&lang=zh&pose=pano:182,qua:0.0042,0.7069,-0.0042,0.7073",
          name: "广州数化智甄科技有限公司",
          id: 15,
          key: '15'
        }
      ],
    },
    {
      p_id: 9, //对应primary的id
      bgclr: "#FDE5AA",
      bgclr_active: "#FDE5AA",
      textColor: '#CC9C23',
      data: [
        {
          xuhao: "eg1",
          url: "KJ-7NUWhMFroFM&lang=zh&pose=pano:66,qua:0.0743,-0.692,0.072,0.7145",
          name: "万达信息股份有限公司",
          id: 1,
          key: 'EG1'
        },
        {
          xuhao: "eg2",
          url: "KJ-7NUWhMFroFM&lang=zh&pose=pano:52,qua:0.0001,0.999,0.0437,-0.0025",
          name: "惠州数字政府联盟",
          id: 2,
          key: 'EG2'
        },
        {
          xuhao: "eg2",
          url: "KJ-7NUWhMFroFM&lang=zh&pose=pano:52,qua:0.0001,0.999,0.0437,-0.0025",
          name: "广东泰一高新技术发展有限公司",
          id: 2,
        },
        {
          xuhao: "eg2",
          url: "KJ-7NUWhMFroFM&lang=zh&pose=pano:52,qua:0.0001,0.999,0.0437,-0.0025",
          name: "惠州九联智城科技有限公司",
          id: 2,
        },
        {
          xuhao: "eg2",
          url: "KJ-7NUWhMFroFM&lang=zh&pose=pano:52,qua:0.0001,0.999,0.0437,-0.0025",
          name: "惠州数字城市科技有限公司",
          id: 2,
        },
        {
          xuhao: "eg2",
          url: "KJ-7NUWhMFroFM&lang=zh&pose=pano:52,qua:0.0001,0.999,0.0437,-0.0025",
          name: "广东巍智科技有限公司",
          id: 2,
        },
        {
          xuhao: "eg2",
          url: "KJ-7NUWhMFroFM&lang=zh&pose=pano:52,qua:0.0001,0.999,0.0437,-0.0025",
          name: "广东智象科技有限公司",
          id: 2,
        },
        {
          xuhao: "eg2",
          url: "KJ-7NUWhMFroFM&lang=zh&pose=pano:52,qua:0.0001,0.999,0.0437,-0.0025",
          name: "惠州市科晟信息技术有限公司",
          id: 2,
        },
        {
          xuhao: "eg3",
          url: "KJ-7NUWhMFroFM&lang=zh&pose=pano:108,qua:0.0101,-0.5109,0.006,0.8596",
          name: "新疆大湾区会客厅",
          id: 3,
          key: 'EG3'
        },
        {
          xuhao: "eg6",
          url: "KJ-7NUWhMFroFM&lang=zh&pose=pano:28,qua:0.07,-0.6266,0.0567,0.7742",
          name: "南威软件集团",
          id: 3,
          key: 'EG6'
        },
        {
          xuhao: "eg7",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:338,qua:0.1134,0.0022,-0.0002,0.9935",
          name: "广东三鼎智慧信息科技有限公司",
          id: 4,
          key: 'EG7'
        },
        {
          xuhao: "eg9",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:174,qua:0.1102,-0.6952,0.1091,0.7019",
          name: "深圳市东进技术股份有限公司",
          id: 5,
          key: 'EG9'
        },
        {
          xuhao: "eg10-1",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:186,qua:0.0844,-0.6899,0.0815,0.7143",
          name: "东莞市数字经济发展集团有限公司",
          id: 6,
          key: 'EG10-1'
        },
        {
          xuhao: "eg10-2",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:374,qua:0.0522,0.8674,0.0932,-0.486",
          name: "楚天龙股份有限公司",
          id: 7,
          key: 'EG10-2'
        },
        {
          xuhao: "eg13",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:312,qua:-0.1308,-0.1654,-0.0221,0.9773",
          name: "国泰新点软件股份有限公司",
          id: 8,
          key: 'EG13'
        },
        {
          xuhao: "eg14",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:148,qua:0.0251,0.9394,0.0705,-0.3345",
          name: "广州凡拓数字创意科技股份有限公司",
          id: 9,
          key: 'EG14'
        },
        {
          xuhao: "eg15",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:148,qua:-0.0844,-0.5145,-0.051,0.8518",
          name: "杭州领信数科信息技术有限公司",
          id: 10,
          key: 'EG15'
        },
        {
          xuhao: "eg15",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:148,qua:-0.0844,-0.5145,-0.051,0.8518",
          name: "广州大白互联网科技有限公司",
          id: 10,
        },
        {
          xuhao: "eg16",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:148,qua:-0.0844,-0.5145,-0.051,0.8518",
          name: "北京数字认证股份有限公司",
          id: 11,
          key: 'EG16'
        },
        {
          xuhao: "eg17",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:208,qua:-0.0768,-0.696,-0.0753,0.7099",
          name: "上海梦创双杨数据科技股份有限公司",
          id: 12,
          key: 'EG17'
        },
        {
          xuhao: "eg18",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:394,qua:-0.0628,-0.593,-0.0465,0.8014",
          name: "开普数智科技（广东）有限公司",
          id: 13,
          key: 'EG18'
        },
        {
          xuhao: "eg19",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:376,qua:-0.0628,-0.7769,-0.0785,0.6216",
          name: "深圳齐心好视通云计算有限公司",
          id: 14,
          key: 'EG19'
        },
        {
          xuhao: "eg20",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:374,qua:0.0522,0.8674,0.0932,-0.486",
          name: "广州美盈智能科技有限公司",
          id: 15,
          key: 'EG20'
        },
        {
          xuhao: "eg21",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:304,qua:-0.115,-0.2567,-0.0308,0.9591",
          name: "广东创能科技股份有限公司",
          id: 16,
          key: 'EG21'
        },
        {
          xuhao: "eg22",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:324,qua:-0.0835,-0.5453,-0.0547,0.8323",
          name: "广东盈世计算机科技有限公司",
          id: 17,
          key: 'EG22'
        },
        {
          xuhao: "eg23",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:324,qua:-0.0835,-0.5453,-0.0547,0.8323",
          name: "广东中浦科技有限公司",
          id: 18,
          key: 'EG23'
        },
        {
          xuhao: "eg24",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:218,qua:0.06,0.873,0.1113,-0.471",
          name: "广州市品高软件股份有限公司",
          id: 19,
          key: 'EG24'
        },
        {
          xuhao: "eg25",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:120,qua:-0.0492,-0.748,-0.0558,0.6595",
          name: "广东安泰兴业智能科技有限公司",
          id: 20,
          key: 'EG25'
        },
        {
          xuhao: "eg26",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:6,qua:-0.0437,0.6605,0.0386,0.7486",
          name: "东莞先知大数据有限公司",
          id: 21,
          key: 'EG26'
        },
        {
          xuhao: "eg27",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:294,qua:-0.1104,0.5024,0.0649,0.8551",
          name: "深圳市雄帝科技股份有限公司",
          id: 22,
          key: 'EG27'
        },
        {
          xuhao: "eg28",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:72,qua:-0.044,0.6786,0.0407,0.732",
          name: "广州明动软件股份有限公司",
          id: 23,
          key: 'EG28'
        },
        {
          xuhao: "eg29",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:58,qua:-0.1055,0.4865,0.0593,0.8652",
          name: "广州芳禾数据有限公司",
          id: 24,
          key: 'EG29'
        },
        {
          xuhao: "eg30",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:42,qua:-0.0277,0.8293,0.0413,0.5566",
          name: "丰图科技（深圳）有限公司",
          id: 25,
          key: 'EG30'
        },
        {
          xuhao: "eg32",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:6,qua:-0.0437,0.6605,0.0386,0.7486",
          name: "珠海金山办公软件有限公司",
          id: 26,
          key: 'EG32'
        },
        {
          xuhao: "eg33",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:72,qua:-0.0777,-0.7088,-0.0791,0.6966",
          name: "广州富莱星科技有限公司",
          id: 27,
          key: 'EG33'
        },
        {
          xuhao: "eg34",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:72,qua:-0.0777,-0.7088,-0.0791,0.6966",
          name: "广东航天七零六信息科技有限公司",
          id: 28,
          key: 'EG34'
        },
        {
          xuhao: "eg36",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:58,qua:-0.0625,-0.6718,-0.057,0.7359",
          name: "广州市中智软件开发有限公司",
          id: 29,
          key: 'EG36'
        },
        {
          xuhao: "eg37",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:40,qua:-0.0342,-0.6781,-0.0316,0.7335",
          name: "广州市中智软件开发有限公司",
          id: 30,
          key: 'EG37'
        },
        {
          xuhao: "eg38",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:6,qua:-0.081,-0.7106,-0.0829,0.694",
          name: "中国铁塔股份有限公司广东省分公司",
          id: 31,
          key: 'EG38'
        },
        {
          xuhao: "eg39-1",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:220,qua:-0.0288,-0.666,-0.0257,0.7449",
          name: "广州市鑫广飞信息科技有限公司",
          id: 32,
          key: 'EG39-1'
        },
        {
          xuhao: "eg39-2",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:220,qua:-0.0288,-0.666,-0.0257,0.7449",
          name: "广东省信息工程有限公司",
          id: 33,
          key: 'EG39-2'
        },
        {
          xuhao: "eg40",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:6,qua:-0.081,-0.7106,-0.0829,0.694",
          name: "广东天亿马信息产业股份有限公司",
          id: 34,
          key: 'EG40'
        },
        {
          xuhao: "eg41",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:284,qua:-0.0497,-0.06,-0.003,0.997",
          name: "广东省广播电视网络股份有限公司",
          id: 35,
          key: 'EG41'
        },
        {
          xuhao: "eg42-1",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:246,qua:0.0328,0.8655,-0.0572,0.4966",
          name: "广东省医学科学院广东省人民医院",
          id: 36,
          key: 'EG42-1'
        },
        {
          xuhao: "eg42-2",
          url: "KJ-slA3V9RHdVI&lang=zh&pose=pano:94,qua:-0.0468,-0.8407,-0.0736,0.5345",
          name: "浪潮集团有限公司",
          id: 37,
          key: 'EG42-2'
        }
      ],
    },
    {
      p_id: 12, //对应primary的id
      bgclr: "#FFB797",
      bgclr_active: "#FFB797",
      textColor: '#AD3936',
      data: [
        {
          xuhao: "",
          url: "",
          name: "需求与招商发布台",
          id: 1,
        }
      ],
    },
    {
      p_id: 13, //对应primary的id
      bgclr: "#FFCFA8",
      bgclr_active: "#FFCFA8",
      textColor: '#A5704C',
      data: [
        {
          xuhao: "",
          url: "KJ-7NUWhMFroFM&lang=zh&pose=pano:116,qua:0.01,0.9155,0.0228,-0.4015",
          name: "工作间",
          id: 1,
          key: "C1"
        },
        {
          xuhao: "",
          url: "KJ-7NUWhMFroFM&lang=zh&pose=pano:116,qua:0.01,0.9155,0.0228,-0.4015",
          name: "储蓄间",
          id: 2,
          key: "C2"
        }
      ],
    },
  ]
};

let loop = (main, sub) => {
  let data = main.map((item) => {
    sub.forEach((sub) => {
      if (item.id === sub.p_id) {
        item.sub = sub;
        item.show = false;
      }
    });
    return item;
  });

  return data;
};

let data = loop(raw.primary, raw.secondary);

console.log(data);

module.exports = {
  data,
  raw,
};
